home *** CD-ROM | disk | FTP | other *** search
- ; Find a complex root to a polynomial.
- ; The desired root is
- ; x = -0.4196433776 +0.6062907292i
- ; The starting value -.5+.5i is used. Other starting values
- ; might result in one of the other two roots.
- ; See POLY.EKA for another way to solve polynomials.
-
- COMPLEX
- x^3 - x^2 - x - 1 = 0
- x := -.5 + .5i
-